package com.znufe.exam.viewmodel.admin.lecturer;

import com.znufe.exam.base.BasePage;
import lombok.Data;

@Data
public class LecturerPageRequestVM extends BasePage {

    private String lecturerName;

    private Integer professionalTitle;

    public static LecturerPageRequestVM wipeBlank(LecturerPageRequestVM model) {
        if (model.lecturerName != null) {
            model.setLecturerName(model.getLecturerName().trim());
        }
        return model;
    }

}
